home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
DDJ0992.ARJ
/
DBMAC.INC
< prev
next >
Wrap
Text File
|
1992-05-28
|
1KB
|
46 lines
;---------------------------------------------------------------
;dbmac.inc - macros for debugger. |
;--------------------------------------------------------------|
DOINT macro num
int_&num label near
PUBLIC int_&num
push bp
push &num
jmp pass_thru
endm
DOEXCP macro num
except_&num label near
PUBLIC except_&num
push bp
push &num
jmp except_handler
endm
DOEXCPH macro num
int_&num label near
PUBLIC int_&num
push bp
push &num - 18h
jmp pass_thru
endm
DEFIDTI macro num
idt <isrcode:int_&num,gdt_seg:sel_isrcode,,,>
endm
DEFIDTE macro num
idt <isrcode:except_&num,gdt_seg:sel_isrcode,,,>
endm
WRITE_CHAR macro
mov es:[di], al
endm
WRITE_POS macro
stosb
inc di
endm
;------end of dbmac.inc